@import '../../node_modules/antd/dist/antd.css';

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

code {
    font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
    monospace;
}

/* Common CSS style */
.span-button {
    padding: 0;
}

*::-webkit-scrollbar {/*滚动条整体样式*/
    width: 0;     /*高宽分别对应横竖滚动条的尺寸*/
    height:0;
}

/**::-webkit-scrollbar-thumb {!*滚动条里面小方块*!*/
/*    border-radius: 10px;*/
/*    !*height:300px;*!*/
/*    box-shadow: inset 0 0 5px rgba(67, 147, 204, 0.93);*/
/*    background: #535353;*/
/*}*/

/**::-webkit-scrollbar-track {!*滚动条里面轨道*!*/
/*    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);*/
/*    border-radius: 10px;*/
/*    background: #EDEDED;*/
/*}*/


/**
可编辑table start
 */
.editable-cell {
    position: relative;
}

.editable-cell-value-wrap {
    padding: 5px 12px;
    cursor: pointer;
}

.editable-row:hover .editable-cell-value-wrap {
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    padding: 4px 11px;
}
/**
可编辑table end
 */

/**
可滚动table
 */


/* 自定义滚动条样式 */
.ant-table-body::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}
.ant-table-body::-webkit-scrollbar-thumb {
    background-color: #888888;
    border-radius: 6px;
}
.ant-table-body::-webkit-scrollbar-track {
    background-color: #f0f0f0;
}
.ant-table-row-cell-break-word {
    position: sticky; /* 粘性定位 */
    right: 0; /* 固定在右侧 */
    background-color: white; /* 与表格背景色一致，避免内容透过 */
    border-left: 1px solid #dee2e6;
    background:rgba(240, 240, 240, 0.9);
}
.ant-table-row-cell-break-word:before{
    display: block;
    content:"";
    height: 100%;
    width: 1px;
    min-height: 20px;
    background-color: #dee2e6;
    position: absolute; /* 或 fixed, sticky 等根据需求 */
    left: 0; /* 确保线在左侧 */
    top:0;
    z-index: 2;
}